Generates a PSF for use with deconvolution, any of the three methods exposed by RL, SB or WIENER commands. One of the following must be given as the first argument: <b>clear</b> (clears the existing PSF), <b>load</b> (loads a PSF from a file), <b>save</b> (saves the current PSF), <b>blind</b> (blind estimate of tke PSF), <b>stars</b> (generates a PSF based on measured stars from the image) or <b>manual</b> (generates a PSF manually based on a function and parameters). No additional arguments are required when using the <b>clear</b> argument. To load a previously saved PSF the <b>load</b> argument requires the PSF <i>filename</i> as a second argument. This may be in any format that Siril has been compiled with support for, but it must be square and should ideally be odd. To save a previously generated PSF the argument <b>save</b> is used. Optionally, a filename may be provided (this must have one of the extensions ".fit", ".fits", ".fts" or ".tif") but if none is provided the PSF will be named based on the name of the open file or sequence. For <b>blind</b>, the following optional arguments may be provided: <b>-l0</b> uses the l0 descent method, <b>-si</b> uses the spectral irregularity method, <b>-multiscale</b> configures the l0 method to do a multi-scale PSF estimate, <b>-lambda=</b> provides the regularization constant. For PSF from detected <b>stars</b> the only optional parameter is <b>-sym</b>, which configures the PSF to be symmetric. For a <b>manual</b> PSF, one of <b>-gaussian</b>, <b>-moffat</b>, <b>-disc</b> or <b>-airy</b> can be provided to specify the PSF function, Gaussian by default. For Gaussian or Moffat PSFs the optional arguments <b>-fwhm=</b>, <b>-angle=</b> and <b>-ratio=</b> may be provided. For Moffat PSFs the optional argument <b>-beta=</b> may also be provided. If these values are omitted, they default to the same values as in the deconvolution dialog. For disc PSFs only the argument <b>-fwhm=</b> is required, which for this function is used to set the <i>diameter</i> of the PSF. For Airy PSFs the following arguments may be provided: <b>-dia=</b> (sets the telescope diameter), <b>-fl=</b> (sets the telescope focal length), <b>-wl=</b> (sets the wavelength to calculate the Airy diffraction pattern for), <b>-pixelsize=</b> (sets the sensor pixel size), <b>-obstruct=</b> (sets the central obstruction as a percentage of the overall aperture area). If these parameters are not provided, wavelength will default to 525nm and central obstruction will default to 0%. Siril will attempt to read the others from the open image, but some imaging software may not provide all of them in which case you will get bad results, and note the metadata may not be populated for SER format videos. You will learn from experience which are safe to omit for your particular imaging setup. For any of the above PSF generation options the optional argument <b>-ks=</b> may be provided to set the PSF dimension, and the optional argument <b>-savepsf=<i>filename</i></b> may be used to save the generated PSF: a filename must be provided and the same filename extension requirements apply as for <b>makepsf save <i>filename</i></b>
Genera una PSF per a utilitzar amb la deconvolució. Un dels següents s'ha de proporcionar com a primer argument: <b>clear</b> (esborra la PSF existent), <b>load</b> (carrega una PSF des d'un fitxer), <b>save</b> (desa la PSF actual), <b>blind</b> (estimació cega de la PSF), <b>stars</b> (genera una PSF basada en estrelles mesurades de la imatge) o <b>manual</b> (genera una PSF manualment a partir d'una funció i paràmetres). No són necessaris arguments addicionals quan s'utilitza l'argument <b>clear</b>. Per carregar una PSF prèviament desada, l'argument <b>load</b> requereix el <filename> de la PSF com a segon argument. Això pot ser en qualsevol format amb el qual Siril hagi estat compilat amb suport, però ha de ser quadrada i preferentment senar. Per desar una PSF generada prèviament, s'utilitza l'argument <b>save</b>. Opcionalment, es pot proporcionar un nom de fitxer (aquest ha de tenir una de les extensions ".fit", ".fits", ".fts" o ".tif"), però si no se'n proporciona cap, la PSF s'anomenarà en funció del nom del fitxer o seqüència oberta. Per a <b>blind</b>, es poden proporcionar els següents arguments opcionals: <b>-l0</b> utilitza el mètode de descens l0, <b>-si</b> utilitza el mètode d'irregularitat espectral, <b>-multiscale</b> configura el mètode l0 per fer una estimació de PSF de múltiples escales, <b>-lambda=</b> proporciona la constant de regularització. Per a PSF a partir d'<b>estels</b> detectats l'únic paràmetre opcional és <b>-sym</b>, que configura la PSF perquè sigui simètrica. Per a una PSF <b>manual</b>, es pot proporcionar un dels següents arguments: <b>-gaussian</b>, <b>-moffat</b>, <b>-disc</b> o <b>-airy</b>, per especificar la funció de la PSF, sent la Gaussiana la predeterminada. Per a les PSF Gaussianes o de Moffat, es poden proporcionar els arguments opcionals <b>-fwhm=</b>, <b>-angle=</b> i <b>-ratio=</b>. Per a les PSF de Moffat, també es pot proporcionar l'argument opcional <b>-beta=</b>. Si aquests valors s'ometen, els valors per defecte seran els mateixos que en el diàleg de deconvolució. Per a les PSF de disc només és necessari l'argument <b>-fwhm=</b>, que en aquesta funció s'utilitza per establir el diàmetre de la PSF. Per a les PSF de l'Airy, es poden proporcionar els següents arguments: <b>-dia=</b> (estableix el diàmetre del telescopi), <b>-fl=</b> (estableix la longitud focal del telescopi), <b>-wl=</b> (estableix la longitud d'ona per calcular el patró de difracció d'Airy), <b>-pixelsize=</b> (estableix la mida de píxel del sensor), <b>-obstruct=</b> (estableix l'obstrucció central com a percentatge de l'àrea total de l'obertura). Si no es proporcionen aquests paràmetres, la longitud d'ona serà per defecte de 525 nm i l'obstrucció central serà per defecte del 0%. Siril intentarà llegir els altres paràmetres de la imatge oberta, però alguns programari d'imatge pot no proporcionar tots ells, en què obtindreu resultats incorrectes, i tingueu en compte que les metadades potser no estiguin disponibles per als vídeos en format SER. Amb l'experiència aprendreu quins paràmetres podeu ometre de forma segura per a la vostra configuració d'imatge en particular. Per a qualsevol de les opcions de generació de PSF esmentades anteriorment, es pot proporcionar l'argument opcional <b>-ks=</b> per establir la dimensió de la PSF, i l'argument opcional <b>-savepsf=<i>filename</i></b> es pot utilitzar per desar la PSF generada: s'ha de proporcionar un nom de fitxer i s'apliquen els mateixos requisits d'extensió de fitxer que amb <b>makepsf save <i>filename</i></b>.
No additional arguments are required when using the <b>clear</b> argument.
To load a previously saved PSF the <b>load</b> argument requires the PSF <i>filename</i> as a second argument. This may be in any format that Siril has been compiled with support for, but it must be square and should ideally be odd.
To save a previously generated PSF the argument <b>save</b> is used. Optionally, a filename may be provided (this must have one of the extensions ".fit", ".fits", ".fts" or ".tif") but if none is provided the PSF will be named based on the name of the open file or sequence.
For <b>blind</b>, the following optional arguments may be provided: <b>-l0</b> uses the l0 descent method, <b>-si</b> uses the spectral irregularity method, <b>-multiscale</b> configures the l0 method to do a multi-scale PSF estimate, <b>-lambda=</b> provides the regularization constant.
For PSF from detected <b>stars</b> the only optional parameter is <b>-sym</b>, which configures the PSF to be symmetric.
For a <b>manual</b> PSF, one of <b>-gaussian</b>, <b>-moffat</b>, <b>-disc</b> or <b>-airy</b> can be provided to specify the PSF function, Gaussian by default. For Gaussian or Moffat PSFs the optional arguments <b>-fwhm=</b>, <b>-angle=</b> and <b>-ratio=</b> may be provided. For Moffat PSFs the optional argument <b>-beta=</b> may also be provided. If these values are omitted, they default to the same values as in the deconvolution dialog. For disc PSFs only the argument <b>-fwhm=</b> is required, which for this function is used to set the <i>diameter</i> of the PSF. For Airy PSFs the following arguments may be provided: <b>-dia=</b> (sets the telescope diameter), <b>-fl=</b> (sets the telescope focal length), <b>-wl=</b> (sets the wavelength to calculate the Airy diffraction pattern for), <b>-pixelsize=</b> (sets the sensor pixel size), <b>-obstruct=</b> (sets the central obstruction as a percentage of the overall aperture area). If these parameters are not provided, wavelength will default to 525nm and central obstruction will default to 0%. Siril will attempt to read the others from the open image, but some imaging software may not provide all of them in which case you will get bad results, and note the metadata may not be populated for SER format videos. You will learn from experience which are safe to omit for your particular imaging setup.
For any of the above PSF generation options the optional argument <b>-ks=</b> may be provided to set the PSF dimension, and the optional argument <b>-savepsf=<i>filename</i></b> may be used to save the generated PSF: a filename must be provided and the same filename extension requirements apply as for <b>makepsf save <i>filename</i></b>
No són necessaris arguments addicionals quan s'utilitza l'argument <b>clear</b>.
Per carregar una PSF prèviament desada, l'argument <b>load</b> requereix el <filename> de la PSF com a segon argument. Això pot ser en qualsevol format amb el qual Siril hagi estat compilat amb suport, però ha de ser quadrada i preferentment senar.
Per desar una PSF generada prèviament, s'utilitza l'argument <b>save</b>. Opcionalment, es pot proporcionar un nom de fitxer (aquest ha de tenir una de les extensions ".fit", ".fits", ".fts" o ".tif"), però si no se'n proporciona cap, la PSF s'anomenarà en funció del nom del fitxer o seqüència oberta.
Per a <b>blind</b>, es poden proporcionar els següents arguments opcionals: <b>-l0</b> utilitza el mètode de descens l0, <b>-si</b> utilitza el mètode d'irregularitat espectral, <b>-multiscale</b> configura el mètode l0 per fer una estimació de PSF de múltiples escales, <b>-lambda=</b> proporciona la constant de regularització.
Per a PSF a partir d'<b>estels</b> detectats l'únic paràmetre opcional és <b>-sym</b>, que configura la PSF perquè sigui simètrica.
Per a una PSF <b>manual</b>, es pot proporcionar un dels següents arguments: <b>-gaussian</b>, <b>-moffat</b>, <b>-disc</b> o <b>-airy</b>, per especificar la funció de la PSF, sent la Gaussiana la predeterminada. Per a les PSF Gaussianes o de Moffat, es poden proporcionar els arguments opcionals <b>-fwhm=</b>, <b>-angle=</b> i <b>-ratio=</b>. Per a les PSF de Moffat, també es pot proporcionar l'argument opcional <b>-beta=</b>. Si aquests valors s'ometen, els valors per defecte seran els mateixos que en el diàleg de deconvolució. Per a les PSF de disc només és necessari l'argument <b>-fwhm=</b>, que en aquesta funció s'utilitza per establir el diàmetre de la PSF. Per a les PSF de l'Airy, es poden proporcionar els següents arguments: <b>-dia=</b> (estableix el diàmetre del telescopi), <b>-fl=</b> (estableix la longitud focal del telescopi), <b>-wl=</b> (estableix la longitud d'ona per calcular el patró de difracció d'Airy), <b>-pixelsize=</b> (estableix la mida de píxel del sensor), <b>-obstruct=</b> (estableix l'obstrucció central com a percentatge de l'àrea total de l'obertura). Si no es proporcionen aquests paràmetres, la longitud d'ona serà per defecte de 525 nm i l'obstrucció central serà per defecte del 0%. Siril intentarà llegir els altres paràmetres de la imatge oberta, però alguns programari d'imatge pot no proporcionar tots ells, en què obtindreu resultats incorrectes, i tingueu en compte que les metadades potser no estiguin disponibles per als vídeos en format SER. Amb l'experiència aprendreu quins paràmetres podeu ometre de forma segura per a la vostra configuració d'imatge en particular.
Per a qualsevol de les opcions de generació de PSF esmentades anteriorment, es pot proporcionar l'argument opcional <b>-ks=</b> per establir la dimensió de la PSF, i l'argument opcional <b>-savepsf=<i>filename</i></b> es pot utilitzar per desar la PSF generada: s'ha de proporcionar un nom de fitxer i s'apliquen els mateixos requisits d'extensió de fitxer que amb <b>makepsf save <i>filename</i></b>.