Skip to content

Commit

Permalink
updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
simontorres committed Oct 6, 2023
1 parent 785903d commit 1dc85cb
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 4 deletions.
31 changes: 30 additions & 1 deletion docs/_file_suffixes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,33 @@ There are two scenarios where this can happen:
================ ========= ========================================


Assuming the two targets in `sci_file.fits` are extracted we'll end up with
Assuming the two targets in `sci_file.fits` are extracted and they are approximately at the position
400 and 600 (pixels in spatial axis), after extraction we'll end up with:

.. code-block:: bash
esci_file_target_1.fits
esci_file_target_2.fits
elamp_001_390-410.fits
elamp_001_590-610.fits
elamp_002_390-410.fits
elamp_002_590-610.fits
The default prefix for extraction is ``e`` and does not have an underscore to separate it from the
file name.

After wavelength calibration, since there are two suitable lamps and due to the fact that the
pipeline does not combine solutions, it will save two wavelength calibrated files with each one
solved by the respective lamp. Then:

.. code-block:: bash
wesci_file_target_1_ws_1.fits
wesci_file_target_1_ws_2.fits
wesci_file_target_2_ws_1.fits
wesci_file_target_2_ws_2.fits
welamp_001_390-410.fits
welamp_001_590-610.fits
welamp_002_390-410.fits
welamp_002_590-610.fits
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
'sphinx.ext.autodoc',
'sphinx.ext.mathjax',
'sphinx.ext.intersphinx',
'sphinxcontrib.napoleon']
'sphinx.ext.napoleon']


intersphinx_mapping = {
Expand Down Expand Up @@ -81,7 +81,7 @@
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
language = 'en'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand Down
2 changes: 1 addition & 1 deletion goodman_pipeline/core/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ def extraction(ccd,

def extract_fractional_pixel(ccd, target_trace, target_fwhm, extraction_width,
background_spacing=3):
"""Performs an spectrum extraction using fractional pixels.
"""Performs a spectrum extraction using fractional pixels.
Args:
ccd (CCDData) Instance of :class:`~astropy.nddata.CCDData` that
Expand Down

0 comments on commit 1dc85cb

Please sign in to comment.