Add running script as CLI option
This commit is contained in:
@@ -153,6 +153,24 @@ file explorer programs that are in system or from file explorer to this program.
|
||||
In menu you can select which FITS keywords will be showed. Temporarilly disable loading FITS header or copy file paths of selected files as text.
|
||||
</p>
|
||||
|
||||
<h3>Command line options</h3>
|
||||
<p>
|
||||
Tenmon can be executed from command line. It support these command line options.
|
||||
<ul>
|
||||
<li><i>--thumb, --thumbnail <path></i> Generate thumbnail and save it to path. It generate it from first file provided as argument.</li>
|
||||
<li><i>-s, --size <size></i> size of generated thumbnail. Aspect ratio of input image is preserved.</li>
|
||||
<li><i>--script <script></i> execute a script from file path same manner as executed from GUI.</li>
|
||||
<li><i>--outdir <dir></i> output dir for script execution. By default current working directory is used.</li>
|
||||
<li><i>--noexit</i> by default application exit when execution of script specified with --script ends. This prefent that.</li>
|
||||
<li><i>-h, --help</i> show help end exit.</li>
|
||||
Any other arguments are taken as input paths. If only one file path is specified then that image is open and image list is populated by directory
|
||||
containing that image. If directory is specified then it is same as selecting that directory in "Open directory recusivelly". If multiple files are
|
||||
specified then image list will contain just these speicified images.
|
||||
|
||||
When exuecting script with --script then these paths are used as input files and directories as in "Batch processing"
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<h3>Batch processing</h3>
|
||||
<p>This module allow to write scripts in JavaScript that process image files. Batch Processing window consist from three main parts. On top is list of input files and directories.
|
||||
You can add directories or individual files to this list. Directories are scanned recursively to find all files even non image files. This list of files is then passed to script in array named <b>files</b>.
|
||||
|
||||
@@ -102,6 +102,55 @@ En appuyant sur la touche Enter ou en cliquant sur le bouton <i>Filtre</i>, les
|
||||
Cet exemple filtre les fichiers où : "Bias" figure dans le nom de fichier, la propriété OBJECT est "M_42" (où le trait de soulignement peut être n'importe quel caractère) et la propriété DATE commence par "2022".
|
||||
</p>
|
||||
|
||||
<h3>Plate Solving</h3>
|
||||
<p>This module can plate solve images and update FITS header with solution for FITS and XISF images.
|
||||
<b>Profile</b> this set various parameters that affect star extraction and solving.
|
||||
<b>Starting point</b> program will try to automatically determine optimal starting point which helps to speed up solving.
|
||||
You can leave one or both unchecked then it will attempt to do blind solving. If the position or scale is wrong it can actually
|
||||
fail to solve.
|
||||
<b>Solution</b> this section contain resulting solution like RA,DEC coordinates center of image, image field of view, orientation as degrees E of N,
|
||||
image scale in arcseconds per pixel, number of stars extracted and HFR fitting and eccentricity. Then there is log window for debug information from
|
||||
solver.
|
||||
</p>
|
||||
<p>Then finally there are various action button. Settings button show dialog where you can set path to existing index files or auto download some.
|
||||
Extract button will just extract stars from image and it will show their count, HFR and eccentricity. This action doesn't need index files.
|
||||
Solve button will try to find coordinates of images. Abort button will stop extraction or solving. Update FITS header will update FITS fits keywords
|
||||
with found solution.</p>
|
||||
|
||||
<p>In settings dialog you can set path to index files which is by default custom internal one. It also try to locate commonly used path from other
|
||||
programs like KStars for astrometry.net index files.
|
||||
</p>
|
||||
|
||||
<h3>File Manager</h3>
|
||||
<p>
|
||||
This is simple double panel file manager. It can show columns with selected FITS keywords. Each panel have tabs where it easily switch between
|
||||
multiple directories. You can copy or move files and directories either inside one panel or between two panels by selecting and then dragging.
|
||||
By default files are copies. To move then press Shift key before start dragging. Double click on file will open it in main window if it is image
|
||||
or other file it will open default program that is associated with it this file type. You can also drag file to other programs like from default
|
||||
file explorer programs that are in system or from file explorer to this program.
|
||||
</p>
|
||||
<p>
|
||||
In menu you can select which FITS keywords will be showed. Temporarilly disable loading FITS header or copy file paths of selected files as text.
|
||||
</p>
|
||||
|
||||
<h3>Command line options</h3>
|
||||
<p>
|
||||
Tenmon can be executed from command line. It support these command line options.
|
||||
<ul>
|
||||
<li><i>--thumb, --thumbnail <path></i> Generate thumbnail and save it to path. It generate it from first file provided as argument.</li>
|
||||
<li><i>-s, --size <size></i> size of generated thumbnail. Aspect ratio of input image is preserved.</li>
|
||||
<li><i>--script <script></i> execute a script from file path same manner as executed from GUI.</li>
|
||||
<li><i>--outdir <dir></i> output dir for script execution. By default current working directory is used.</li>
|
||||
<li><i>--noexit</i> by default application exit when execution of script specified with --script ends. This prefent that.</li>
|
||||
<li><i>-h, --help</i> show help end exit.</li>
|
||||
Any other arguments are taken as input paths. If only one file path is specified then that image is open and image list is populated by directory
|
||||
containing that image. If directory is specified then it is same as selecting that directory in "Open directory recusivelly". If multiple files are
|
||||
specified then image list will contain just these speicified images.
|
||||
|
||||
When exuecting script with --script then these paths are used as input files and directories as in "Batch processing"
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<h3>Traitement par lot</h3>
|
||||
|
||||
Ce module permet d'écrire des scripts en JavaScript qui traitent des fichiers images. La fenêtre de traitement par lots se compose de trois parties principales. En haut se trouve la liste des fichiers et répertoires d'entrée.
|
||||
|
||||
@@ -133,6 +133,24 @@ file explorer programs that are in system or from file explorer to this program.
|
||||
In menu you can select which FITS keywords will be showed. Temporarilly disable loading FITS header or copy file paths of selected files as text.
|
||||
</p>
|
||||
|
||||
<h3>Command line options</h3>
|
||||
<p>
|
||||
Tenmon can be executed from command line. It support these command line options.
|
||||
<ul>
|
||||
<li><i>--thumb, --thumbnail <path></i> Generate thumbnail and save it to path. It generate it from first file provided as argument.</li>
|
||||
<li><i>-s, --size <size></i> size of generated thumbnail. Aspect ratio of input image is preserved.</li>
|
||||
<li><i>--script <script></i> execute a script from file path same manner as executed from GUI.</li>
|
||||
<li><i>--outdir <dir></i> output dir for script execution. By default current working directory is used.</li>
|
||||
<li><i>--noexit</i> by default application exit when execution of script specified with --script ends. This prefent that.</li>
|
||||
<li><i>-h, --help</i> show help end exit.</li>
|
||||
Any other arguments are taken as input paths. If only one file path is specified then that image is open and image list is populated by directory
|
||||
containing that image. If directory is specified then it is same as selecting that directory in "Open directory recusivelly". If multiple files are
|
||||
specified then image list will contain just these speicified images.
|
||||
|
||||
When exuecting script with --script then these paths are used as input files and directories as in "Batch processing"
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<h3>Hromadné spracovanie</h3>
|
||||
|
||||
Tento modul umožnuje písanie skriptov v JavaScripte ktoré spracujú súbory obrázkov. Okno Hromadného spracovanie pozostáva z troch častí. Navrchu je zoznam vstupných súborov a adresárov.
|
||||
|
||||
Reference in New Issue
Block a user