Preferences (commands)
Starting from v1.2, most preferences can also be set through commands, meaning either from direct input in the command line, through scripting or in headless mode.
To get a list of all the available variables, through siril command line:
get -A
This will print a list of all the variables to the Console, with their current value and a short description (use lowercase option -a to omit description).
The table below lists them:
变量 |
Default ([Range]) |
类型 |
注释 |
|---|---|---|---|
core.wd |
(not set) |
directory |
current working directory |
core.extension |
.fit |
string |
FITS扩展名 |
core.force_16bit |
false |
boolean |
don't use 32 bits for pixel depth |
core.fits_save_icc |
true |
boolean |
保存时将 ICC 描述文件嵌入 FITS |
core.allow_heterogeneous_fitseq |
false |
boolean |
allow FITS cubes to have different sizes |
core.mem_mode |
0 [0, 1] |
integer |
内存模式(0比例,1数量) |
core.mem_ratio |
0.9 [0.05, 4] |
double |
可用内存比例 |
core.mem_amount |
10 [0.1, 1e+06] |
double |
amount of memory in GB |
core.hd_bitdepth |
20 [17, 24] |
integer |
高分辨率自动拉伸位深 |
core.script_check_requires |
true |
boolean |
need requires cmd in script |
core.pipe_check_requires |
false |
boolean |
需要管道中的 cmd |
core.check_updates |
false |
boolean |
check update at start-up |
core.lang |
(not set) |
string |
active siril language |
core.swap_dir |
os dependant |
directory |
swap directory |
core.binning_update |
true |
boolean |
像素尺寸不包含像素合并(bin)的系数 |
core.wcs_formalism |
1 [0, 1] |
integer |
FITS 文件头中使用的 WCS 形式 |
core.catalogue_namedstars |
~/.local/share/kstars/namedstars.dat |
string |
Path of the namedstars.dat catalogue |
core.catalogue_unnamedstars |
~/.local/share/kstars/unnamedstars.dat |
string |
Path of the unnamedstars.dat catalogue |
core.catalogue_tycho2 |
~/.local/share/kstars/deepstars.dat |
string |
Path of the deepstars.dat catalogue |
core.catalogue_nomad |
~/.local/share/kstars/USNO-NOMAD-1e8.dat |
string |
Path of the USNO-NOMAD-1e8.dat catalogue |
core.catalogue_gaia_astro |
~/.local/share/siril/gaia_astrometric.dat |
string |
本地Gaia星表的路径 |
core.catalogue_gaia_photo |
~/.local/share/siril/gaia_photometric.dat |
string |
本地Gaia测光星表的路径 |
core.rgb_aladin |
false |
boolean |
在 FITS 文件头中添加 CTYPE3='RGB' |
core.use_checksum |
false |
boolean |
如果存在,验证文件的校验和 |
core.copyright |
(not set) |
string |
user copyright to put in file header |
core.starnet_exe |
(not set) |
string |
location of the StarNet executable |
core.starnet_weights |
(not set) |
string |
location of the StarNet-torch weights file |
core.graxpert_path |
(not set) |
string |
GraXpert可执行文件位置 |
core.asnet_dir |
(not set) |
string |
asnet_ansvr 安装目录 |
core.fftw_timelimit |
60 |
double |
FFTW planning timelimit |
core.fftw_conv_fft_cutoff |
15 |
integer |
Convolution minimum kernel size to use FFTW |
core.fftwf_strategy |
0 |
integer |
FFTW planning strategy |
core.fftw_multithreaded |
true |
boolean |
multithreaded FFTW |
core.max_slice_size |
32769 [512, 32769] |
integer |
自动分片处理时的最大切片尺寸 |
starfinder.focal_length |
0 [0, 999999] |
double |
focal length in mm for radius adjustment |
starfinder.pixel_size |
0 [0, 99] |
double |
pixel size in µm for radius adjustment |
debayer.use_bayer_header |
true |
boolean |
use pattern from the file header |
debayer.pattern |
0 [0, 7] |
integer |
拜耳阵列索引值 |
debayer.interpolation |
8 [0, 9] |
integer |
插值类型 |
debayer.orientation |
0 [0, 3] |
integer |
行序设置 |
debayer.offset_x |
0 [0, 1] |
integer |
拜尔阵列X轴偏移量 |
debayer.offset_y |
0 [0, 1] |
integer |
拜尔阵列Y轴偏移量 |
debayer.xtrans_passes |
1 [1, 4] |
integer |
Number of passes for the X-Trans Markesteijn algorithm |
photometry.gain |
2.3 [0, 10] |
double |
electrons per ADU for noise estimation |
photometry.inner |
20 [2, 100] |
double |
背景环的内半径 |
photometry.outer |
30 [3, 200] |
double |
outer radius for background annulus |
photometry.inner_factor |
4.2 [2, 50] |
double |
factor for inner radius automatic computation |
photometry.outer_factor |
6.3 [2, 50] |
double |
factor for outer radius automatic computation |
photometry.force_radius |
true |
boolean |
强制光通量孔径 |
photometry.auto_aperture_factor |
4 [1, 5] |
double |
半径/半FWHM比 |
photometry.aperture |
10 [1, 100] |
double |
用于光通量计算的强制孔径 |
photometry.minval |
-1500 [-65536, 65534] |
double |
用于测光的最小有效像素值 |
photometry.maxval |
60000 [1, 65535] |
double |
用于测光的最大有效像素值 |
photometry.discard_var_catalogues |
4 [0, 7] |
integer |
用于从参考星列表中排除变星的星表 |
photometry.redpref |
(not set) |
string |
首选SPCC红色滤镜 |
photometry.greenpref |
(not set) |
string |
首选SPCC绿色滤镜 |
photometry.bluepref |
(not set) |
string |
首选SPCC蓝色滤镜 |
photometry.lpfpref |
(not set) |
string |
首选SPCC DSLR低通滤镜 |
photometry.oscfilterpref |
No filter |
string |
首选SPCC OSC滤镜 |
photometry.monosensorpref |
(not set) |
string |
首选SPCC单色传感器 |
photometry.oscsensorpref |
(not set) |
string |
首选SPCC OSC传感器 |
photometry.is_mono |
true |
boolean |
SPCC传感器是否为单色? |
photometry.is_dslr |
false |
boolean |
SPCC OSC传感器是否为DSLR? |
photometry.nb_mode |
false |
boolean |
我们处于窄带模式吗? |
photometry.r_wl |
656.28 |
double |
红色NB滤镜波长 |
photometry.r_bw |
6 |
double |
红色NB滤镜带宽 |
photometry.g_wl |
500.7 |
double |
绿色NB滤镜波长 |
photometry.g_bw |
6 |
double |
绿色NB滤镜带宽 |
photometry.b_wl |
500.7 |
double |
蓝色NB滤镜波长 |
photometry.b_bw |
6 |
double |
蓝色NB滤镜带宽 |
astrometry.asnet_keep_xyls |
false |
boolean |
do not delete .xyls FITS tables |
astrometry.asnet_keep_wcs |
false |
boolean |
do not delete .wcs result files |
astrometry.asnet_show_output |
false |
boolean |
show solve-field output in main log |
astrometry.sip_order |
3 [1, 5] |
integer |
多项式修正中多项式的次数 |
astrometry.radius |
10 [0.01, 30] |
double |
radius around the target coordinates (degrees |
astrometry.max_seconds_run |
30 [0, 100000] |
integer |
maximum seconds to try solving |
astrometry.update_default_scale |
true |
boolean |
update default focal length and pixel size from the result |
astrometry.percent_scale_range |
20 [1, 50] |
integer |
所允许的低于和高于预期采样的百分比 |
astrometry.default_obscode |
(not set) |
string |
默认IAU天文台编号 |
analysis.panel |
256 [127, 1024] |
integer |
像差检查器面板尺寸 |
analysis.window |
381 [300, 1600] |
integer |
window size of aberration inspector |
compression.enabled |
false |
boolean |
FITS compression enabled |
compression.method |
0 [0, 3] |
integer |
FITS compression method |
compression.quantization |
16 [8, 256] |
double |
用于32位浮点数的量化因子 |
compression.hcompress_scale |
4 [0, 256] |
double |
Hcompress scale factor |
gui_prepro.cfa |
false |
boolean |
需应用坏点修正的传感器类型 |
gui_prepro.equalize_cfa |
true |
boolean |
均衡化平场图的各通道 |
gui_prepro.fix_xtrans |
false |
boolean |
enable correction for X-Trans sensor |
gui_prepro.xtrans_af_x |
0 |
integer |
如果未找到 X-Trans 模型,就用这个 |
gui_prepro.xtrans_af_y |
0 |
integer |
如果未找到 X-Trans 模型,就用这个 |
gui_prepro.xtrans_af_w |
0 |
integer |
如果未找到 X-Trans 模型,就用这个 |
gui_prepro.xtrans_af_h |
0 |
integer |
如果未找到 X-Trans 模型,就用这个 |
gui_prepro.xtrans_sample_x |
0 |
integer |
如果未找到 X-Trans 模型,就用这个 |
gui_prepro.xtrans_sample_y |
0 |
integer |
如果未找到 X-Trans 模型,就用这个 |
gui_prepro.xtrans_sample_w |
0 |
integer |
如果未找到 X-Trans 模型,就用这个 |
gui_prepro.xtrans_sample_h |
0 |
integer |
如果未找到 X-Trans 模型,就用这个 |
gui_prepro.bias_lib |
(not set) |
string |
缺省主偏置图 |
gui_prepro.use_bias_lib |
false |
boolean |
使用缺省主偏置图 |
gui_prepro.dark_lib |
(not set) |
string |
缺省主暗场图 |
gui_prepro.use_dark_lib |
false |
boolean |
使用缺省主暗场图 |
gui_prepro.flat_lib |
(not set) |
string |
缺省主平场图 |
gui_prepro.use_flat_lib |
false |
boolean |
使用缺省主平场图 |
gui_prepro.disto_lib |
(not set) |
string |
缺省总和畸变文件 |
gui_prepro.use_disto_lib |
false |
boolean |
使用缺省总和畸变文件 |
gui_prepro.stack_default |
$seqname$stacked |
string |
default stack name |
gui_prepro.use_stack_default |
true |
boolean |
use preferred stack name |
gui_registration.method |
0 [0, 7] |
integer |
index of the selected registration method |
gui_registration.interpolation |
4 [0, 5] |
integer |
index of the selected interpolation method |
gui_registration.clamping |
true |
boolean |
对 Lanczos 和 Cubic 插值启用钳定 |
gui_registration.drizz_weight_match_bitpix |
false |
boolean |
Match Drizzle weights bitpix to sequence |
gui_stack.method |
0 [0, 4] |
integer |
index of the selected method |
gui_stack.normalization |
3 [0, 4] |
integer |
index of the normalization method |
gui_stack.rejection |
5 [0, 7] |
integer |
剔除方法的指标 |
gui_stack.weighting |
0 [0, 4] |
integer |
index of the weighting method |
gui_stack.sigma_low |
3 [0, 20] |
double |
用作剔除的sigma下限 |
gui_stack.sigma_high |
3 [0, 20] |
double |
用作剔除的sigma上限 |
gui_stack.linear_low |
5 [0, 20] |
double |
linear low value for rejection |
gui_stack.linear_high |
5 [0, 20] |
double |
linear high value for rejection |
gui_stack.percentile_low |
3 [0, 100] |
double |
percentile low value for rejection |
gui_stack.percentile_high |
3 [0, 100] |
double |
percentile high value for rejection |
gui.first_start |
(not set) |
string |
first start of siril |
gui.silent_quit |
false |
boolean |
don't confirm quit when exiting |
gui.silent_linear |
false |
boolean |
don't confirm save when non linear mode |
gui.remember_windows |
true |
boolean |
记住窗口位置 |
gui.main_win_pos_x |
0 |
integer |
main window position |
gui.main_win_pos_y |
0 |
integer |
main window position |
gui.main_win_pos_w |
0 |
integer |
main window position |
gui.main_win_pos_h |
0 |
integer |
main window position |
gui.pan_position |
-1 |
integer |
position of the two sides separator |
gui.extended |
true |
boolean |
主窗口已扩展 |
gui.maximized |
false |
boolean |
main window is maximized |
gui.theme |
0 [0, 1] |
integer |
index of the selected theme |
gui.font_scale |
100 |
double |
font scale in percent |
gui.icon_symbolic |
false |
boolean |
icon style |
gui.script_path |
list of strings |
list of script directories |
|
gui.use_scripts_repository |
true |
boolean |
使用和同步在线脚本仓库 |
gui.use_spcc_repository |
true |
boolean |
使用和同步 spcc 数据库仓库 |
gui.auto_update_scripts |
true |
boolean |
自动同步在线脚本仓库 |
gui.auto_update_spcc |
true |
boolean |
自动同步 spcc 数据库仓库 |
gui.selected_scripts |
list of strings |
从仓库中选择的脚本列表 |
|
gui.warn_scripts_run |
true |
boolean |
warn when launching a script |
gui.show_thumbnails |
true |
boolean |
在打开对话框中显示缩略图 |
gui.thumbnail_size |
256 |
integer |
缩略图尺寸 |
gui.selection_guides |
0 |
integer |
number of elements of the grid guides |
gui.show_deciasec |
false |
boolean |
show tenths of arcseconds on hover |
gui.default_rendering_mode |
0 [0, 6] |
integer |
default display mode |
gui.display_histogram_mode |
0 [0, 1] |
integer |
default histogram display mode |
gui.roi_mode |
0 |
integer |
ROI选择模式 |
gui.roi_warning |
true |
boolean |
启用 ROI 对话框警告 |
gui.mmb_zoom_action |
0 |
integer |
鼠标中键双击缩放操作 |
gui.mouse_speed_limit |
0 |
double |
Mouse smooth scroll speed limit |
gui.color_bkg_samples |
rgba(255, 51, 26, 1.0) |
string |
配置背景提取样本框的颜色 |
gui.color_std_annotations |
rgba(128, 255, 77, 0.9) |
string |
配置标准标注的颜色 |
gui.color_dso_annotations |
rgba(255, 128, 0, 0.9) |
string |
配置深空天体标记的颜色 |
gui.color_sso_annotations |
rgba(255, 255, 0, 0.9) |
string |
配置太阳系天体标注的颜色 |
gui.color_tmp_annotations |
rgba(255, 0, 0, 0.9) |
string |
配置临时标注的颜色 |
gui.custom_monitor_profile |
(not set) |
string |
自定义显示器 ICC 描述文件的路径 |
gui.soft_proofing_profile |
(not set) |
string |
软打样 ICC 描述文件的路径 |
gui.icc_custom_monitor_active |
false |
boolean |
自定义显视器描述文件启用 |
gui.icc_soft_proofing_active |
false |
boolean |
输出打样描述文件启用 |
gui.custom_RGB_ICC_profile |
(not set) |
string |
自定义 RGB ICC 描述文件的路径 |
gui.custom_gray_ICC_profile |
(not set) |
string |
自定义灰度 ICC 描述文件的路径 |
gui.rendering_intent |
1 |
integer |
色彩管理渲染意图 |
gui.proofing_intent |
1 |
integer |
色彩管理软打样意图 |
gui.export_intent |
1 |
integer |
color management export intent |
gui.default_to_srgb |
true |
boolean |
导出非色彩管理图像时默认为 sRGB |
gui.working_gamut |
0 |
integer |
color management working gamut |
gui.export_8bit_method |
0 |
integer |
color management export profile for 8bit files |
gui.export_16bit_method |
1 |
integer |
color management export profile for 16bit files |
gui.icc_autoconversion |
0 |
integer |
将具有 ICC 描述文件的图像自动转换为工作色彩空间 |
gui.icc_autoassignment |
4 |
integer |
编码 ICC 描述文件自动分配选项 |
gui.icc_rendering_bpc |
true |
boolean |
启用渲染 BPC |
gui.icc_pedantic_linear |
false |
boolean |
学术式地分配线性 ICC 描述文件 |
gui.mouse_actions |
list of strings |
mouse actions config. Opaque data structure, edit this using the GUI |
|
gui.scroll_actions |
list of strings |
scroll actions config. Opaque data structure, edit this using the GUI |
|
gui_astrometry.compass_position |
1 [0, 5] |
integer |
index of the compass position over grid |
gui_astrometry.cat_messier |
true |
boolean |
标注梅西耶天体 |
gui_astrometry.cat_ngc |
true |
boolean |
标注NGC天体 |
gui_astrometry.cat_ic |
true |
boolean |
标注IC天体 |
gui_astrometry.cat_ldn |
true |
boolean |
标注LDN天体 |
gui_astrometry.cat_sh2 |
true |
boolean |
标注SH2天体 |
gui_astrometry.cat_stars |
true |
boolean |
标注恒星 |
gui_astrometry.cat_const |
true |
boolean |
show constellations in annotations |
gui_astrometry.cat_const_names |
true |
boolean |
show constellations names in annotations |
gui_astrometry.cat_user_dso |
true |
boolean |
在标注中显示用户深空天体 |
gui_astrometry.cat_user_sso |
true |
boolean |
在标注中显示用户太阳系天体 |
gui_pixelmath.pm_presets |
list of strings |
list of pixel math presets |
|
script_editor.highlight_syntax |
true |
boolean |
highlight syntax in the script editor |
script_editor.highlight_bracketmatch |
true |
boolean |
highlight matching brackets in the script editor |
script_editor.rmargin |
true |
boolean |
show the right margin in the script editor |
script_editor.rmargin_pos |
80 |
integer |
position of the right margin in the script editor |
script_editor.show_linenums |
true |
boolean |
show line numbers in the script editor |
script_editor.show_linemarks |
false |
boolean |
show line marks in the script editor |
script_editor.highlight_currentline |
true |
boolean |
highlight the current line in the script editor |
script_editor.autoindent |
true |
boolean |
automatically indent new lines |
script_editor.indentontab |
true |
boolean |
indent selected blocks of lines in the script editor using the tab key |
script_editor.smartbs |
true |
boolean |
Smart Backspace behaviour in the script editor |
script_editor.smarthomeend |
true |
boolean |
在脚本编辑器中启用智能Home / End键 |
script_editor.showspaces |
false |
boolean |
Show visible space and tab characters in the script editor |
script_editor.shownewlines |
false |
boolean |
Show visible newline characters in the script editor |
script_editor.minimap |
false |
boolean |
Show a minimap in the script editor |
~/.local/share/kstars/, irrespective of your OS.The values can be fetched with get command:
Siril command line
get { -a | -A | variable }
The values can be modified with set command:
Siril command line
set { -import=inifilepath | variable=value }