Skip to content

Commit

Permalink
Prepare for statmorph v0.3.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
vrodgom committed Jun 15, 2018
1 parent e341ab6 commit 612695d
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include LICENSE
include *.rst *.txt
recursive-include statmorph *.py
recursive-include statmorph *.py *.fits
recursive-include notebooks *.ipynb
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ morphological statistics for each source:
- Some properties associated to the above statistics (Petrosian radii,
half-light radii, etc.)

Although the Sersic index is, by definition, the opposite of a non-parametric
Although the Sersic index is the opposite of a non-parametric
morphological quantity, it is included anyway due to its popularity.

This Python implementation is largely based on IDL code originally
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
scipy>=0.19
scikit-image>=0.13
scikit-image>=0.14
astropy>=2.0
photutils>=0.3
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setup(
name='statmorph',
version='0.2.1',
version='0.3.0',
description='Non-parametric morphological diagnostics of galaxy images',
long_description=long_description,
url='https://github.com/vrodgom/statmorph',
Expand All @@ -33,7 +33,7 @@
keywords='astronomy galaxies galaxy-morphology non-parametric',
packages=['statmorph', 'statmorph.tests'],
install_requires=['scipy>=0.19',
'scikit-image>=0.13',
'scikit-image>=0.14',
'astropy>=2.0',
'photutils>=0.3'],
)
2 changes: 1 addition & 1 deletion statmorph/statmorph.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
__all__ = ['ConvolvedSersic2D', 'SourceMorphology', 'source_morphology',
'__version__']

__version__ = '0.2.1'
__version__ = '0.3.0'

def _quantile(sorted_values, q):
"""
Expand Down
4 changes: 3 additions & 1 deletion statmorph/tests/test_statmorph.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from __future__ import absolute_import, division, print_function

import numpy as np
import os
import time
import statmorph
from astropy.io import fits
Expand Down Expand Up @@ -52,7 +53,8 @@ def test1():
"""
Check values for a randomly chosen galaxy.
"""
hdulist = fits.open('data_slice.fits')
curdir = os.path.dirname(__file__)
hdulist = fits.open('%s/data_slice.fits' % (curdir))
image = hdulist[0].data
segmap = hdulist[1].data
mask = np.bool8(hdulist[2].data)
Expand Down

0 comments on commit 612695d

Please sign in to comment.