Skip to content

Commit

Permalink
Include the new argument --stop_after_ifu_3D_method0
Browse files Browse the repository at this point in the history
  • Loading branch information
nicocardiel committed Jul 1, 2024
1 parent bded4f1 commit c309d74
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tutorials/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
html_theme_options = {
'logo_only': False,
}
html_static_path = ['_static']
#html_static_path = ['_static']
5 changes: 3 additions & 2 deletions tutorials/ifu_simulator/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ system:
.. code-block:: console
(venv_frida) $ fridadrp-ifu_simulator --version
0.1.dev89+g0e67f81.d20240429
0.1.dev98+g0c982ee
The script accepts a number of arguments, which are displayed when invoking the
script name without any parameter:
Expand All @@ -34,7 +34,8 @@ script name without any parameter:
[--rnoise RNOISE] [--flatpix2pix {default,none}]
[--seed SEED]
[--prefix_intermediate_FITS PREFIX_INTERMEDIATE_FITS]
[-v] [--plots] [--echo] [--version]
[--stop_after_ifu_3D_method0] [-v] [--plots]
[--echo] [--version]
The simulator uses a file called *scene* as its basic input, which contains
information about the image to be simulated. This file must be written in YAML
Expand Down
18 changes: 15 additions & 3 deletions tutorials/ifu_simulator/script_arguments.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ argument.
[--rnoise RNOISE] [--flatpix2pix {default,none}]
[--seed SEED]
[--prefix_intermediate_FITS PREFIX_INTERMEDIATE_FITS]
[-v] [--plots] [--echo] [--version]
[--stop_after_ifu_3D_method0] [-v] [--plots]
[--echo] [--version]
description: simulator of FRIDA IFU images (0.1.dev89+g0e67f81.d20240429)
description: simulator of FRIDA IFU images (0.1.dev98+g0c982ee)
options:
-h, --help show this help message and exit
Expand Down Expand Up @@ -58,6 +59,8 @@ argument.
--seed SEED Seed for random number generator
--prefix_intermediate_FITS PREFIX_INTERMEDIATE_FITS
Prefix for intermediate FITS files
--stop_after_ifu_3D_method0
Stop after computing ifu_3D_method0 image
-v, --verbose increase program verbosity
--plots Plot intermediate results
--echo Display full command line
Expand Down Expand Up @@ -210,12 +213,21 @@ set to a particular integer sequence (``1234``).
.. _--prefix_intermediate_FITS:

:raw-html:`<code>--prefix_intermediate_FITS &lt;string&gt;</code>`
-------------------------------------------------------------------
------------------------------------------------------------------

Prefix to be added before the name of the FITS files generated during the
simulator execution. By default this string is ``test``. Note that an
underscore ``_`` symbol is also added between this prefix and the filename.

.. _--stop_after_ifu_3D_method0:

:raw-html:`<code>--stop_after_ifu_3D_method0</code>`
----------------------------------------------------

If this argument is present, the simulator stops just after generating
the file ``test_ifu_3D_method0.fits``. This is useful for debugging
purposes.

.. _--verbose:

:raw-html:`<code>--verbose</code>`
Expand Down

0 comments on commit c309d74

Please sign in to comment.