Skip to content

Releases: simpeg/discretize

Option to mask streamlines

22 Jan 05:49
4dc94be

Choose a tag to compare

From pr: #86
Commits from: @lheagy
Review from: @thast, @rowanc1

add the ability to mask streamlines if the amplitude is below a given threshold (stream_threshold).

image

add IO functionalities to write DCIP2D mesh and models

08 Jan 02:08
5d802e3

Choose a tag to compare

From pr #84

add IO functionalities to write DCIP2D mesh and models

  • the MeshIO functions writeUBC and writeModelUBC are now compatible with 2D meshes and models.

  • We now make sure that mesh and model get saved at the same place by giving the option to specify the folder outside of the filename (before the folder was given by the dict.keys, not very practical)

  • The upgrade is backward compatible

h_gridded

08 Jan 00:44
679a6d8

Choose a tag to compare

New mesh property: h_gridded

This function works for TensorMesh and TreeMesh types. Much like gridCC, h_gridded returns [hx,hy,hz] as a nCxdim numpy array. This function is important for multiple potential fields problems (Mag, VRM, grav) in 3D.

dependency management

07 Dec 19:57
2bea520

Choose a tag to compare

Changes from #80

  • properties >=0.3.6b0 is required for running this version of discretize
  • properties and vectormath are installed separately so versions can be managed explicitly

properties and serialization

05 Dec 18:05
d88c1f0

Choose a tag to compare

Implement properties in discretize

Use properties to define the properties of a class that are necessary to completely define the object. This allows us to serialize, save and load meshes (also copy!)

untitled 2017-09-19 10-41-46

Related issues and discussion

implement properties in discretize

19 Sep 08:48

Choose a tag to compare

Implement properties in discretize

Use properties to define the properties of a class that are necessary to completely define the object. This allows us to serialize, save and load meshes (also copy!)

untitled 2017-09-19 10-41-46

Related issues and discussion

Extract Core Mesh Util

06 Jul 15:29

Choose a tag to compare

originally from pr #67, with commits from @thast, @lheagy, review from @rowanc1

  • port over fixes that were made in SimPEG extract core mesh
  • add testing on the 1D and 2D extract core mesh util

cleanup imports

22 Jun 04:58

Choose a tag to compare

Clean up Tree Mesh imports

Try / except the import of TreeMesh in Tests. This should remove all dependence that the cython code be properly set up in order to import discretize (continues to be an issue on windows...)

numpy upgrades, IO for UBC meshes

13 Jun 02:07

Choose a tag to compare

IO: UBC meshes

contributions from: @thast, @micmitch, review from @lheagy
from pr #54

  • discretize.TensorMesh.readUBC is now a wrapper for loading either 2D or 3D mesh
  • discretize.TensorMesh.readUBC can take care of recognizing if the file is a 2D or 3D UBC mesh, or it can be an input given by the user (arg: meshdim)
  • the original functions are now hidden class function under discretize.TensorMesh._readUBC_3DMesh and discretize.TensorMesh._readUBC_2DMesh
  • comments in UBC files are assumed to be marked with "!" in front

utils.Zero: Numpy upgrades

contributions from: @lheagy, review and comments from @rowanc1, @jcapriot
from pr #61

Install Cleanup

18 May 06:38

Choose a tag to compare

Noteworthy Changes

  • use a try / except pair when importing the TreeMesh in the main init
  • have efficiency warnings state that the user should use python setup.py install if cython code is not there in the interp utils
  • use a try / except in the setup.py when importing numpy to tell the user to install numpy if it fails.

Minor Changes

  • add codacy, quantified code badges to docs
  • pinning to sphinx==1.5.6 for sphinx gallery to build. This is stated in #57 and will be released when upstream changes are made