Skip to content

Commit

Permalink
updated doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfried (Mac) committed Dec 19, 2023
1 parent b38fbbc commit 86a56e8
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 23 deletions.
2 changes: 1 addition & 1 deletion source/API/catalogues.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Catalogue classes

.. _Table.write(): https://docs.astropy.org/en/stable/api/astropy.table.Table.html#astropy.table.Table.write

.. automodule:: SED.catalogues
.. automodule:: pixSED.catalogues
:members:
:private-members:
:show-inheritance:
2 changes: 1 addition & 1 deletion source/API/filters.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Filter classes
==============

.. automodule:: SED.filters
.. automodule:: pixSED.filters
:members:
:private-members:
:show-inheritance:
12 changes: 6 additions & 6 deletions source/API/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,46 +19,46 @@ API
:link: catalogues
:link-type: doc

Documentation related to :class:`~SED.catalogues.Catalogue` class and sub-classes.
Documentation related to :py:class:`~.Catalogue` class and sub-classes.

.. grid-item::

.. card:: Filters
:link: filters
:link-type: doc

Documentation related to :class:`~SED.filters.Filter` and :class:`~SED.filters.FilterList` classes.
Documentation related to :py:class:`~.Filter` and :py:class:`~.FilterList` classes.

.. grid-item::

.. card:: Miscellaneous
:link: misc/index
:link-type: doc

Documentation related to :py:mod:`~SED.filters.misc` module.
Documentation related to various misc module.

.. grid-item::

.. card:: Outputs
:link: outputs
:link-type: doc

Documentation related to :py:class:`~SED.outputs.Output` class and sub-classes.
Documentation related to :py:class:`~.Output` class and sub-classes.

.. grid-item::

.. card:: Photometry
:link: photometry
:link-type: doc

Documentation related to various functions related to photometric conversions defined in :py:mod:`~SED.photometry`.
Documentation related to various functions related to photometric conversions defined in :py:mod:`~pixSED.photometry`.

.. grid-item::

.. card:: Sed objects
:link: sed
:link-type: doc

Documentation related to :py:class:`~SED.sed.SED` class and sub-classes.
Documentation related to :py:class:`~.SED` class and sub-classes.


2 changes: 1 addition & 1 deletion source/API/misc/enum.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Enumeration classes
===================

.. automodule:: SED.misc.enum
.. automodule:: pixSED.misc.enum
:special-members: __str__
:members:
:private-members:
Expand Down
2 changes: 1 addition & 1 deletion source/API/misc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ Miscellaneous
:link: properties
:link-type: doc

Documentation related to :py:class:`~SED.misc.properties.Property` class and sub-classes used to perform checks for physical properties with strict bounds or a restricted set of acceptable values.
Documentation related to :py:class:`~.Property` class and sub-classes used to perform checks for physical properties with strict bounds or a restricted set of acceptable values.
4 changes: 1 addition & 3 deletions source/API/misc/misc.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
Miscellaneous classes and functions
===================================

.. _ndarray: https://numpy.org/doc/stable/reference/generated/numpy.array.html

.. automodule:: SED.misc.misc
.. automodule:: pixSED.misc.misc
:special-members: __str__
:members:
:private-members:
Expand Down
2 changes: 1 addition & 1 deletion source/API/misc/properties.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Property classes
================

.. automodule:: SED.misc.properties
.. automodule:: pixSED.misc.properties
:special-members: __str__
:members:
:private-members:
Expand Down
2 changes: 1 addition & 1 deletion source/API/outputs.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
SED fitting code output classes
===============================

.. automodule:: SED.outputs
.. automodule:: pixSED.outputs
:members:
:private-members:
:show-inheritance:
2 changes: 1 addition & 1 deletion source/API/photometry.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Photometry related fonctions
============================

.. automodule:: SED.photometry
.. automodule:: pixSED.photometry
:members:
:private-members:
:show-inheritance:
2 changes: 1 addition & 1 deletion source/API/sed.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SED classes

.. _TextIOBase: https://docs.python.org/3/library/io.html#io.TextIOBase

.. automodule:: SED.sed
.. automodule:: pixSED.sed
:members:
:private-members:
:show-inheritance:
2 changes: 0 additions & 2 deletions source/docutils.conf

This file was deleted.

8 changes: 4 additions & 4 deletions source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
setup
nomenclature
poisson
examples/index
examples
API/index

Introduction
Expand Down Expand Up @@ -71,7 +71,7 @@ Whatever the backend, the first step is to load the data. To do so, two classes

.. code-block::
import SED
import pixSED as SED
filt_435w = SED.Filter('F435W', 'data_F435W.fits', 'var_F435W.fits', 25.68, file2 = None)
Expand Down Expand Up @@ -198,8 +198,8 @@ Similarly, to change the bad pixel cleaning method, one can do

The code automatically cleans bad pixels which are identified as having either a negative flux or a negative variance. Two cleaning methods are proposed:

- :py:attr:`SED.misc.enum.CleanMethod.ZERO` which replaces bad pixels by a flux equal to 0 and
- :py:attr:`SED.misc.enum.CleanMethod.MIN` which replaces bad pixels with the minimum value in the masked image.
- :py:attr:`pixSED.misc.enum.CleanMethod.ZERO` which replaces bad pixels by a flux equal to 0 and
- :py:attr:`pixSED.misc.enum.CleanMethod.MIN` which replaces bad pixels with the minimum value in the masked image.

There is also the possibility to update the SED fitting code backend as follows:

Expand Down

0 comments on commit 86a56e8

Please sign in to comment.