Skip to content

Commit 0531c37

Browse files
committed
Add docs for complex number fixes
1 parent 925cd75 commit 0531c37

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

doc/api-hidden.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@
4040
Dataset.clip
4141
Dataset.conj
4242
Dataset.conjugate
43+
Dataset.imag
4344
Dataset.round
45+
Dataset.real
4446
Dataset.T
4547

4648
DataArray.ndim
@@ -80,8 +82,10 @@
8082
DataArray.clip
8183
DataArray.conj
8284
DataArray.conjugate
85+
DataArray.imag
8386
DataArray.searchsorted
8487
DataArray.round
88+
DataArray.real
8589
DataArray.T
8690

8791
ufuncs.angle

doc/api.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,9 @@ Computation
139139
:py:attr:`~Dataset.clip`
140140
:py:attr:`~Dataset.conj`
141141
:py:attr:`~Dataset.conjugate`
142+
:py:attr:`~Dataset.imag`
142143
:py:attr:`~Dataset.round`
144+
:py:attr:`~Dataset.real`
143145
:py:attr:`~Dataset.T`
144146

145147
**Grouped operations**:
@@ -253,8 +255,10 @@ Computation
253255
:py:attr:`~DataArray.clip`
254256
:py:attr:`~DataArray.conj`
255257
:py:attr:`~DataArray.conjugate`
258+
:py:attr:`~DataArray.imag`
256259
:py:attr:`~DataArray.searchsorted`
257260
:py:attr:`~DataArray.round`
261+
:py:attr:`~DataArray.real`
258262
:py:attr:`~DataArray.T`
259263

260264
**Grouped operations**:

doc/whats-new.rst

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,19 @@ API Changes
1919
:py:meth:`~xray.DataArray.plot` was changed to provide more compatibility
2020
with matplotlib's `contour` and `contourf` functions (:issue:`538`).
2121
Now discrete lists of colors should be specified using `colors` keyword,
22-
rather than `cmap`.
22+
rather than `cmap`.
23+
24+
Enhancements
25+
~~~~~~~~~~~~
26+
27+
- Add :py:attr:`~xray.Dataset.real` and :py:attr:`~xray.Dataset.imag`
28+
attributes to Dataset and DataArray (:issue:`553`).
29+
30+
Bug fixes
31+
~~~~~~~~~
32+
33+
- Aggregation functions now correctly skip ``NaN`` for data for ``complex128``
34+
dtype (:issue:`554`).
2335

2436
v0.6.0 (21 August 2015)
2537
-----------------------

0 commit comments

Comments
 (0)