Skip to content

Commit

Permalink
Merge pull request #865 from larrybradley/requires-skimage
Browse files Browse the repository at this point in the history
Remove skimage from several doctest-requires
  • Loading branch information
larrybradley committed Jun 11, 2019
2 parents c35e900 + 3272327 commit 28984f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
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

0 comments on commit 28984f6

Please sign in to comment.