Skip to content

Commit

Permalink
Add mpl to docs extra
Browse files Browse the repository at this point in the history
  • Loading branch information
larrybradley committed Apr 19, 2022
1 parent f7058f7 commit b04563a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lacosmic/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
def lacosmic(data, contrast, cr_threshold, neighbor_threshold,
error=None, mask=None, background=None, effective_gain=None,
readnoise=None, maxiter=4, border_mode='mirror'):
"""
r"""
Remove cosmic rays from an astronomical image using the L.A.Cosmic
algorithm.
Expand All @@ -38,7 +38,7 @@ def lacosmic(data, contrast, cr_threshold, neighbor_threshold,
image is oversampled, use a value between 1 and 2. For details,
please see `PASP 113, 1420 (2001)
<https://ui.adsabs.harvard.edu/abs/2001PASP..113.1420V/abstract>`_,
which calls this parameter :math:`f_{\\mbox{lim}}`. In
which calls this parameter :math:`f_{\mbox{lim}}`. In
particular, Figure 4 shows the approximate relationship between
the ``contrast`` parameter and the full-width half-maximum (in
pixels) of stars in your image.
Expand Down
8 changes: 5 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,17 @@ packages = find:
python_requires = >=3.8
setup_requires = setuptools_scm
install_requires =
astropy >= 4.1
numpy >= 1.18
scipy >= 1.6.0
astropy>=4.1
numpy>=1.18
scipy>=1.6.0

[options.extras_require]
test =
pytest-astropy
docs =
sphinx
sphinx-astropy
matplotlib>=3.1

[options.package_data]
lacosmic = data/*
Expand Down

0 comments on commit b04563a

Please sign in to comment.