Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove skimage from several doctest-requires #865

Merged
merged 1 commit into from Jun 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/morphology.rst
Expand Up @@ -36,7 +36,7 @@ First, we create the source image and subtract its background::

Then, calculate its properties:

.. doctest-requires:: scipy, skimage
.. doctest-requires:: scipy

>>> from photutils import data_properties
>>> cat = data_properties(data)
Expand Down
10 changes: 5 additions & 5 deletions docs/psf.rst
Expand Up @@ -35,9 +35,9 @@ carefully with undersampled data or detectors with significant intra-pixel
sensitivity variations. For a more detailed description of this formalism, see
`Anderson & King 2000 <http://adsabs.harvard.edu/abs/2000PASP..112.1360A>`_.

All this said, in colloquial usage "PSF photometry" sometimes refers to the more
All this said, in colloquial usage "PSF photometry" sometimes refers to the more
general task of model-fitting photometry (with the effects of the PSF either
implicitly or explicitly included in the models), regardless of exactly what
implicitly or explicitly included in the models), regardless of exactly what
kind of model is actually being fit. For brevity (e.g., ``photutils.psf``), we
use "PSF photometry" in this way, as a shorthand for the general approach.

Expand Down Expand Up @@ -277,7 +277,7 @@ Then let's import the required classes to set up a `~photutils.psf.IterativelySu

Let's then instantiate and use the objects:

.. doctest-requires:: scipy, skimage
.. doctest-requires:: scipy

>>> bkgrms = MADStdBackgroundRMS()
>>> std = bkgrms(image)
Expand Down Expand Up @@ -584,7 +584,7 @@ star as well. Also, note that both of the stars have ``sigma=2.0``.
Let's instantiate the necessary objects in order to use an
`~photutils.psf.IterativelySubtractedPSFPhotometry` to perform photometry:

.. doctest-requires:: scipy, skimage
.. doctest-requires:: scipy

>>> daogroup = DAOGroup(crit_separation=8)
>>> mmm_bkg = MMMBackground()
Expand All @@ -602,7 +602,7 @@ Let's instantiate the necessary objects in order to use an

Now, let's use the callable ``itr_phot_obj`` to perform photometry:

.. doctest-requires:: scipy, skimage
.. doctest-requires:: scipy

>>> phot_results = itr_phot_obj(image)
>>> phot_results['id', 'group_id', 'iter_detected', 'x_0', 'y_0', 'flux_0'] #doctest: +SKIP
Expand Down