[Numpy-discussion] ANN: SfePy 2015.4

2015-12-01 Thread Robert Cimrman
I am pleased to announce release 2015.4 of SfePy. Description --- SfePy (simple finite elements in Python) is a software for solving systems of coupled partial differential equations by the finite element method or by the isogeometric analysis (preliminary support). It is distributed und

[Numpy-discussion] Indexing structured masked arrays with multidimensional fields; what with fill_value?

2015-12-01 Thread Gerrit Holl
Hello, usually, a masked array's .fill_value attribute has ndim=0 and the same dtype as the data attribute: In [27]: ar = array((0, [[0.0, 0.0, 0.0], [0.0, 0.0, 0.0]], 0.0), dtype="int, (2,3)float, float") In [28]: arm = ma.masked_array(ar) In [29]: arm.fill_value.ndim Out[29]: 0 In [31]: arm.