Skip to content

Commit d30ef30

Browse files
authored
Merge pull request #19 from LaurentRDC/master
Release 0.4.7
2 parents 7f04d01 + 2d07b16 commit d30ef30

36 files changed

Lines changed: 1759 additions & 1381 deletions

.appveyor/install-miniconda.ps1

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55

66
$MINICONDA_URL = "https://repo.continuum.io/miniconda/"
77

8-
$env:ASTROPY_LTS_VERSION = "1.0"
9-
$env:LATEST_ASTROPY_STABLE = "1.3"
10-
$env:LATEST_NUMPY_STABLE = "1.12"
11-
128
# We pin the version for conda as it's not the most stable package from
139
# release to release. Add note here if version is pinned due to a bug upstream.
1410
if (! $env:CONDA_VERSION) {
@@ -110,7 +106,7 @@ if (! $env:CONDA_CHANNEL_PRIORITY) {
110106
# key may not yet exists
111107
conda config --set channel_priority $CONDA_CHANNEL_PRIORITY
112108

113-
# Create a conda environment using the astropy bonus packages
109+
# Create a conda environment
114110
conda create -q -n test python=$env:PYTHON_VERSION
115111
activate test
116112

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ __pycache__/
99
# Visual studio cache
1010
*.vs/
1111

12-
# Protein DataBank cache folder
12+
# Protein DataBank files and cache folder
13+
*.ent
1314
pdb_cache/
1415

1516
# Jupyter notebooks

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ scikit-ued
44
.. image:: https://img.shields.io/appveyor/ci/LaurentRDC/scikit-ued/master.svg
55
:target: https://ci.appveyor.com/project/LaurentRDC/scikit-ued
66
:alt: Windows Build Status
7-
.. image:: https://readthedocs.org/projects/scikit-ued/badge/?version=latest
7+
.. image:: https://readthedocs.org/projects/scikit-ued/badge/?version=master
88
:target: http://scikit-ued.readthedocs.io
99
:alt: Documentation Build Status
1010
.. image:: https://img.shields.io/pypi/v/scikit-ued.svg

appveyor.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,13 @@ environment:
1414
# to the matrix section.
1515
TEST_CMD: "python -m unittest discover --verbose"
1616

17+
CONDA_DEPENDENCIES: "numpy scipy cython scikit-image"
18+
PIP_DEPENDENCIES: "pywavelets spglib pycifrw"
19+
1720
matrix:
1821

1922
- PYTHON_VERSION: "3.6"
20-
CONDA_DEPENDENCIES: "numpy scipy cython scikit-image"
21-
PIP_DEPENDENCIES: "pywavelets spglib pycifrw"
22-
2323
- PYTHON_VERSION: "3.5"
24-
CONDA_DEPENDENCIES: "numpy scipy cython scikit-image"
25-
PIP_DEPENDENCIES: "pywavelets spglib pycifrw"
2624

2725
matrix:
2826
fast_finish: true

docs/source/api.rst

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,24 @@ Reference/API
66

77
Parallel Utilities
88
==================
9-
.. automodule:: skued.parallel
9+
.. autofunction:: skued.pmap
10+
11+
.. autofunction:: skued.preduce
1012

1113
Plot Utilities
1214
==============
13-
.. autofunction:: skued.plot_utils.spectrum_colors
15+
.. autofunction:: skued.spectrum_colors
1416

15-
.. autofunction:: skued.plot_utils.rgb_sweep
17+
.. autofunction:: skued.rgb_sweep
1618

1719
Array Utilities
1820
===============
1921
.. automodule:: skued.array_utils
2022

23+
Iteration/Generator Utilities
24+
=============================
25+
.. automodule:: skued.iter_utils
26+
2127
Quantities
2228
==========
2329
.. automodule:: skued.quantities
@@ -32,17 +38,14 @@ Affine Transforms
3238

3339
Structure
3440
=========
35-
.. autoclass:: skued.structure.atom.Atom
41+
.. autoclass:: skued.structure.Atom
3642
:members:
37-
:undoc-members:
3843

39-
.. autoclass:: skued.structure.lattice.Lattice
44+
.. autoclass:: skued.structure.Lattice
4045
:members:
41-
:undoc-members:
4246

43-
.. autoclass:: skued.structure.crystal.Crystal
47+
.. autoclass:: skued.structure.Crystal
4448
:members:
45-
:undoc-members:
4649

4750
Simulation
4851
==========

docs/source/tutorials/baseline.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Scikit-ued offers two ways of removing the background.
7878
Iterative Baseline Determination using the Discrete Wavelet Transform
7979
=====================================================================
8080

81-
The procedure and rational for the :code:`baseline_dwt` routine is described in detail in:
81+
The procedure and rational for the :func:`baseline_dwt` routine is described in detail in:
8282

8383
Galloway et al. 'An Iterative Algorithm for Background Removal in Spectroscopy by Wavelet
8484
Transforms', Applied Spectroscopy pp. 1370 - 1376, September 2009.
@@ -140,7 +140,7 @@ Here is a usage example for the data presented above::
140140
Iterative Baseline Determination using the Dual-Tree Complex Wavelet Transform
141141
==============================================================================
142142

143-
In the case of 1D data (or along a 1D axis), there is a more performant alternative to :code:`baseline_dwt`. The
143+
In the case of 1D data (or along a 1D axis), there is a more performant alternative to :func:`baseline_dwt`. The
144144
**dual-tree complex wavelet transform** improves on the discrete wavelet transform in many ways.
145145
Therefore, the method presented in this section should be preferred.
146146

@@ -201,7 +201,7 @@ Here is a usage example for the data presented above::
201201
ax.legend()
202202
plt.show()
203203

204-
The :code:`baseline_dt` routine will usually be more accurate than its :code:`baseline_dwt` counterpart.
205-
However, :code:`baseline_dwt` can be applied to 1D and 2D data.
204+
The :func:`baseline_dt` routine will usually be more accurate than its :func:`baseline_dwt` counterpart.
205+
However, :func:`baseline_dwt` can be applied to 1D and 2D data.
206206

207207
:ref:`Return to Top <baseline_tutorial>`

docs/source/tutorials/graphite.tif

8 MB
Binary file not shown.

0 commit comments

Comments
 (0)